home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000195_news@newsmaster….columbia.edu _Fri Jun 12 10:19:25 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA21096
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 12 Jun 1998 10:19:24 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA00456
  7.     for kermit.misc@watsun; Fri, 12 Jun 1998 10:19:24 -0400 (EDT)
  8. Message-ID: <3581331C.40C21962@eurospill.no>
  9. Date: Fri, 12 Jun 1998 15:54:36 +0200
  10. From: Morten Knudsen <morten@eurospill.no>
  11. X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.29 i586)
  12. MIME-Version: 1.0
  13. Newsgroups: comp.protocols.kermit.misc
  14. Subject: Re: Scripts: INPUT timed out
  15. References: <357E3AF1.E299BFB3@eurospill.no> <6lm4sa$p24$1@apakabar.cc.columbia.edu>
  16. Content-Type: text/plain; charset=us-ascii
  17. Content-Transfer-Encoding: 7bit
  18. NNTP-Posting-Host: 195.18.252.211
  19. X-NNTP-Posting-Host: 195.18.252.211
  20. Lines: 50
  21. X-Complaints-To: abuse@i.telia.no
  22. Path: news.columbia.edu!panix!logbridge.uoregon.edu!news-feed.inet.tele.dk!bofh.vszbr.cz!uninett.no!newsfeed50.telia.com!d2o202.telia.com!195.18.252.211
  23. Xref: news.columbia.edu comp.protocols.kermit.misc:8868
  24.  
  25. Frank da Cruz wrote:
  26. > In article <357E3AF1.E299BFB3@eurospill.no>,
  27. > Morten Knudsen  <morten@eurospill.no> wrote:
  28. > : I'm just starting to learn kermit script programming. My problem is
  29. > : that my input commands are all timing out. Also if I type interactivly
  30. > :
  31. > : output AT\13
  32. > : input 10 OK
  33. > :
  34. > : the input command fails. This .kermrc
  35. > :
  36. > : set line /dev/modem
  37. > : set speed 19200
  38. > : set modem usrobotics
  39. > : set dial prefix 0
  40. > : set dial method tone
  41. > : set input timeout-action quit
  42. > : output AT\13
  43. > : input 3 OK
  44. > : output AT\13
  45. > : input 3 OK
  46. > :
  47. > : fails on the second input line. Any hints?
  48. > :
  49. > Most likely, it is behaving as it should -- i.e. not seeing the second
  50. > "OK" within 3 seconds.  I agree you *should* see it within 3 seconds, but
  51. > if the INPUT command times out, it means the expected text did not arrive
  52. > within the given interval.
  53. > Another possibility is confusion with the communications port driver.  I
  54. > notice you are using "/dev/modem", which probably means Linux?  And /dev/modem
  55. > is what?  /dev/cua0?  /dev/ttyS0?  The different drivers behave differently.
  56. > Unfortunately, this started happening (or was discovered) after C-Kermit 6.0
  57. > was released.  In that case, you'll have better luck with C-Kermit 6.1:
  58. >
  59. I managed to solve the problem. I had to do:
  60. input 3 OK\13\10
  61. for some reason. But just for the AT commands. Apart from that 
  62. all is normal. This is a USRobotics Courier on Digital Unix. 
  63. /dev/modem is just a link. I haven't tried C-Kermit 6.1 yet. 
  64.  
  65. BTW, do anybody know how to get other speeds than 9600 and 19200
  66. (e.g. 14400, 28800, 33600)? 
  67.  
  68. >   http://www.columbia.edu/kermit/ck61.html
  69. > - Frank
  70.  
  71. Morten.